#!/usr/bin/python3
# -*- coding: utf-8 -*-

li_name = ['zhangsan','tom','lisi','wangwu','alex','tom','lucy']

# 1.li_name[0:4]
# 2.li_name.insert(1, 'luxi')
# 3.li_name.remove('tom')
# 4.li_name.index('lisi')

print(li_name[0:4])
li_name.insert(1, 'luxi')
print(li_name)
li_name.remove('tom')
print(li_name)
print(li_name.index('lisi'))
